package com.hnas.ecard.domain;

import java.util.HashMap;
import java.util.Map;

public class SearchECardStatus {

	public static final String USED = "01"; // 可使用
	public static final String RECEIVED = "02"; // 已收到
	public static final String PRESENTED = "03"; // 已赠送
	public static final String BACK = "04"; // 已退卡

	private static Map<String, String> searchECardStatusMap = new HashMap<String, String>();

	static {
		searchECardStatusMap.put(USED, "可使用");
		searchECardStatusMap.put(RECEIVED, "已收到");
		searchECardStatusMap.put(PRESENTED, "已赠送");
		searchECardStatusMap.put(BACK, "已退卡");
	}

	public static Map<String, String> getSearchECardStatusMap() {
		return searchECardStatusMap;
	}

	public static String getSearchECardStatusMapString(String key) {
		return searchECardStatusMap.get(key);
	}
}
